package net.ibizsys.eclipse.studio.xml;

/**
 * 
 * @author <a href='http://www.weibo.com/xjtoo' target='_blank'>Enmaai</a>
 */
public class IBizApplicationList extends XmlNodeList<IBizApplication>
{
	private static final long serialVersionUID = 1L;

	public static final String NODE_PSAPPLICATIONS = "PSAPPLICATIONS";

	public IBizView findViewById(String id)
	{
		for (IBizApplication app : this)
		{
			IBizView view = app.findViewById(id);
			
			if (view != null)
			{
				return view;
			}
		}

		return null;
	}
}
